﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace GovernmentOfficeProject.LevelDataAccessModel
{
    public class Entity_SME_Schedule
    {
        private decimal sceID = -1;
        private string title;
        private string content;
        private string startTime;
        private string endTime;
        private decimal status = 1;
        private string color;
        private decimal userId = -1;
        private decimal isAllDayEvent = -1;
        private string location;//地点
        private int isSms = 0;//短信提醒 默认：0
        private Entity_COM_Sms_Ready smsReady = new Entity_COM_Sms_Ready();//短信提醒对象

        /// <summary>
        /// 创建用户
        /// </summary>
        public Entity_USER_User CreateUser { get; set; }
        public decimal CreateUserId{get;set;}
        /// <summary>
        /// 修改用户
        /// </summary>
        public Entity_USER_User ModifyUser { get; set; }
        public decimal ModifyUserId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public string CreateTime { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public string ModifyTime { get; set; }

        /// <summary>
        /// 未知结束时间 
        /// </summary>
        public int NoEndTime { get; set; }

        public Entity_COM_Sms_Ready SmsReady
        {
            get { return smsReady; }
            set { smsReady = value; }
        }

        public int IsSms
        {
            get { return isSms; }
            set { isSms = value; }
        }

        public string Location
        {
            get { return location; }
            set { location = value; }
        }

        public decimal IsAllDayEvent
        {
            get { return isAllDayEvent; }
            set { isAllDayEvent = value; }
        }

        public decimal UserId
        {
            get { return userId; }
            set { userId = value; }
        }

        public decimal SceID
        {
            get { return sceID; }
            set { sceID = value; }
        }

        
        public string Title
        {
            get { return title; }
            set { title = value; }
        }

        
        public string Content
        {
            get { return content; }
            set { content = value; }
        }

        
        public string StartTime
        {
            get { return startTime; }
            set { startTime = value; }
        }

        
        public string EndTime
        {
            get { return endTime; }
            set { endTime = value; }
        }

        public string Color
        {
            get { return color; }
            set { color = value; }
        }

        
        public decimal Status
        {
            get { return status; }
            set { status = value; }
        }

        private string backup1;                     //备用字段
        public string Backup1
        {
            get { return backup1; }
            set { backup1 = value; }
        }

        private string backup2;                     //备用字段
        public string Backup2
        {
            get { return backup2; }
            set { backup2 = value; }
        }

        private string backup3;                     //备用字段
        public string Backup3
        {
            get { return backup3; }
            set { backup3 = value; }
        }

        private string backup4;                     //备用字段
        public string Backup4
        {
            get { return backup4; }
            set { backup4 = value; }
        }

        private string backup5;                     //备用字段
        public string Backup5
        {
            get { return backup5; }
            set { backup5 = value; }
        }
    }
}
